﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200138D RID: 5005
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueEndlessActivityPointRewardCsReq : IMessage<TakeRogueEndlessActivityPointRewardCsReq>, IMessage, IEquatable<TakeRogueEndlessActivityPointRewardCsReq>, IDeepCloneable<TakeRogueEndlessActivityPointRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F1A RID: 16154
		// (get) Token: 0x0600E01A RID: 57370 RVA: 0x00257439 File Offset: 0x00255639
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueEndlessActivityPointRewardCsReq> Parser
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardCsReq._parser;
			}
		}

		// Token: 0x17003F1B RID: 16155
		// (get) Token: 0x0600E01B RID: 57371 RVA: 0x00257440 File Offset: 0x00255640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F1C RID: 16156
		// (get) Token: 0x0600E01C RID: 57372 RVA: 0x00257452 File Offset: 0x00255652
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E01D RID: 57373 RVA: 0x00257459 File Offset: 0x00255659
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardCsReq()
		{
		}

		// Token: 0x0600E01E RID: 57374 RVA: 0x00257461 File Offset: 0x00255661
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardCsReq(TakeRogueEndlessActivityPointRewardCsReq other) : this()
		{
			this.level_ = other.level_;
			this.iCDOHKPKMAH_ = other.iCDOHKPKMAH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E01F RID: 57375 RVA: 0x00257492 File Offset: 0x00255692
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardCsReq Clone()
		{
			return new TakeRogueEndlessActivityPointRewardCsReq(this);
		}

		// Token: 0x17003F1D RID: 16157
		// (get) Token: 0x0600E020 RID: 57376 RVA: 0x0025749A File Offset: 0x0025569A
		// (set) Token: 0x0600E021 RID: 57377 RVA: 0x002574A2 File Offset: 0x002556A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17003F1E RID: 16158
		// (get) Token: 0x0600E022 RID: 57378 RVA: 0x002574AB File Offset: 0x002556AB
		// (set) Token: 0x0600E023 RID: 57379 RVA: 0x002574B3 File Offset: 0x002556B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool ICDOHKPKMAH
		{
			get
			{
				return this.iCDOHKPKMAH_;
			}
			set
			{
				this.iCDOHKPKMAH_ = value;
			}
		}

		// Token: 0x0600E024 RID: 57380 RVA: 0x002574BC File Offset: 0x002556BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueEndlessActivityPointRewardCsReq);
		}

		// Token: 0x0600E025 RID: 57381 RVA: 0x002574CA File Offset: 0x002556CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueEndlessActivityPointRewardCsReq other)
		{
			return other != null && (other == this || (this.Level == other.Level && this.ICDOHKPKMAH == other.ICDOHKPKMAH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E026 RID: 57382 RVA: 0x00257508 File Offset: 0x00255708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.ICDOHKPKMAH)
			{
				num ^= this.ICDOHKPKMAH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E027 RID: 57383 RVA: 0x00257560 File Offset: 0x00255760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E028 RID: 57384 RVA: 0x00257568 File Offset: 0x00255768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E029 RID: 57385 RVA: 0x00257574 File Offset: 0x00255774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Level != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Level);
			}
			if (this.ICDOHKPKMAH)
			{
				output.WriteRawTag(104);
				output.WriteBool(this.ICDOHKPKMAH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E02A RID: 57386 RVA: 0x002575D0 File Offset: 0x002557D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.ICDOHKPKMAH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E02B RID: 57387 RVA: 0x0025761C File Offset: 0x0025581C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueEndlessActivityPointRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.ICDOHKPKMAH)
			{
				this.ICDOHKPKMAH = other.ICDOHKPKMAH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E02C RID: 57388 RVA: 0x0025766C File Offset: 0x0025586C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E02D RID: 57389 RVA: 0x00257678 File Offset: 0x00255878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ICDOHKPKMAH = input.ReadBool();
					}
				}
				else
				{
					this.Level = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040058C0 RID: 22720
		private static readonly MessageParser<TakeRogueEndlessActivityPointRewardCsReq> _parser = new MessageParser<TakeRogueEndlessActivityPointRewardCsReq>(() => new TakeRogueEndlessActivityPointRewardCsReq());

		// Token: 0x040058C1 RID: 22721
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058C2 RID: 22722
		public const int LevelFieldNumber = 2;

		// Token: 0x040058C3 RID: 22723
		private uint level_;

		// Token: 0x040058C4 RID: 22724
		public const int ICDOHKPKMAHFieldNumber = 13;

		// Token: 0x040058C5 RID: 22725
		private bool iCDOHKPKMAH_;
	}
}
